package com.zhiwei.codesecurity.mapper;

import com.zhiwei.codesecurity.common.base.BaseDao;
import com.zhiwei.codesecurity.entity.Teams;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TeamsMapper extends BaseDao {

    List<Teams> getTeamsByParentTeamId(@Param("teamId") String teamId);

    int delByTeamId(@Param("teamId") String teamId);

    List<Teams> getAllTeams();
}
